package com.eascs.workflow.timeEffective.dao;

import java.util.List;

import com.eascs.workflow.common.entity.wf.ProcessTaskMain;
import com.eascs.workflow.common.entity.wf.ProcessTaskNode;

public interface TimeffectiveDao {
	
	/** 
     * 修改节点用时
     * @return 
     */
	public boolean updateUsedTime(String taskNodeId,float usedTime);
	
	
	/** 
     * 修改工作流主流程 总用时、总超时
     * @return 
     */
	public boolean updateWFMainUsedTime(String taskMainId,float usedTime,float overTime);
	
	
	/** 
     * 查询流程节点
     * @return 
     */
	public List<ProcessTaskNode> queryProcessNodeByPage(int pageSize,int pageIdex);
	
	
	/** 
     * 查询主流程
     * @return 
     */
	public List<ProcessTaskMain> queryProcessMainByPage(int pageSize,int pageIdex);
	
	
	/** 
     * 查询总条数
     * @return 
     */
	public int queryTotalCount();
}
